Skip to main content

All Questions

Tagged with
0votes
0answers
847views

rsync transfer 'Broken pipe (32)' connection dropping

I am trying to create a small script to transfer a lot of images from a proxmox VM to a raspberry pi on the same LAN (around 90 GB of images/videos). This is not always working as intended, since I ...
786yt's user avatar
0votes
0answers
175views

SSH connection from A to B, then B connects to A

I would like to connect in Rsync to a client that is already connected to my server via ssh. Let's say I have client A connecting to client B via SSH, what I would like to do is establish an Rsync ...
JJWRX's user avatar
7votes
3answers
711views

How would you gracefully handle this snippet to allow for spaces in directories?

I have a series of commands, e.g.: ssh -i key 10.10.10.10 mkdir -p "${DEST_PATH}/subdir1" "${DEST_PATH}/subdir2" rsync "${SOURCE_PATH}" "$DEST_HOST:${DEST_PATH}/...
JoeSlav's user avatar
0votes
1answer
162views

Which protocol needs rsync to enable checksum calculation through source and destination server?

I execute rsync with the --checksum option on the destination server as follows: rsync -av --bwlimit=800000 --delete --checksum /mnt/disks/SMB_SRC/ /mnt/user/dst But as I mounted the source server as ...
mgutt's user avatar
0votes
1answer
1kviews

Gnu parallel rsync hanging indefinitely

To be clear, I am running this exact command(variables changed) in a gnu parallel setting: /usr/bin/parallel -q -j20 rsync --recursive -av -e ssh -oCompression=no -x -T -oUserKnownHostsFile=...
OneRaynyDay's user avatar
1vote
3answers
781views

How to rsync content from another machine through multiple machines?

I have 4 linux machines having name A,B,C,D and I want to rsync some content from machine A machine D, but A is not directly connected to D and but A is connected to B and B is connected to C and C is ...
MikePappa's user avatar
0votes
1answer
43views

Conditions sent over ssh are performed locally, not remotely [duplicate]

So I am trying to do something like this: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i \ /home/backupboy/.ssh/id_rsa [email protected] \ "[[ $(ls -1 /mnt/dir | wc -l) -gt 4 ]]...
Ulukai's user avatar
3votes
2answers
856views

How can Bash determine if it is running due to an rsync over ssh?

I need my Bash init scripts to be able to distinguish between having been invoked like ssh me@host /some/complicated/operation, and having been invoked like rsync -e ssh /src me@host:/dest In the ...
dg99's user avatar
  • 2,622
3votes
1answer
6kviews

rsync over SSH sometimes very slow--other times maxes out bandwidth

I have a bash script set up on computer A (Mac OS X) set to run every five minutes via a cronjob. This script checks for new files on remote computer B (Gentoo Linux) then rsyncs any new files to ...
crsleeth's user avatar
3votes
2answers
4kviews

How can I invoke a prompt for an ssh key passphrase during the execution of a script?

In my ssh_config file there are multiple entries for sites on the same server such as: Host site1 HostName 123.1.1.1 User myuser Port 13245 GSSAPIAuthentication no ...
dimmech's user avatar
3votes
2answers
249views

Any ideas to simplify the awkward rsync expression below?

Here is expression: rsync -avz --progress -e "ssh -i /where/is/my/id_dsa" [email protected]:`ssh -i /where/is/my/id_dsa [email protected] "find /remote/source/dir -type f -name '*.sql' | sort -nr | head ...
coldday's user avatar
0votes
1answer
2kviews

How do I escape a dot character for an rsync command? [closed]

I'm trying to do... ssh -av -e [email protected]:/var/www/domain.com /Users/user/workspace/domain But it's outputting this (I presume because of the period character): OpenSSH_5.6p1, OpenSSL 0.9.8r ...
methodofaction's user avatar

close